* {
    margin: 0;
    padding: 0;
}
/* header部分样式 */
.my-header {
    background-color: #fcf9f9;
    width: 100%;
}
.my-header .main {
    margin: 0 auto;
    width: 1200px;
    color: #000;
}
.my-header .top {
    display: flex;
    height: 40px;
    font-size: 16px;
    line-height: 40px;
    background-color: rgb(236, 230, 230);
}
.my-header .top:first-child {
    justify-content: space-around;
    padding-left: 10px;
    color: #000;
}
.top ul li{
    list-style: none;
    display: inline-block;
    padding-right: 20px;
}
/* 弹出层样式-start */
#model-box {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    /* background-color: gray;
    background-color: transparent; */
    background: linear-gradient(230deg,rgba(0, 0, 0, 0) 0%,rgb(67, 67, 67) 100%);
    /* opacity: 0.5; */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 20;
}
#center {
    width: 500px;
    height: 400px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
}
#center .el-tab-pane {
    width: 380px;
    margin: 0 auto;
}
#center div {
    text-align: center;
}
/* 弹出层样式-end */
.my-header .main .search {
    display: flex;
    justify-content: space-between;
    margin: 10px 0;
}
.my-header .main .search img{
    width: 90px;
    height: 70px;
    margin-left: 10px;
}
.my-header .main .search>div:nth-child(2) {
    height: 40px;
    width: 480px;
    margin: 10px 0;
    /* background-color: rgb(233, 20, 20); */
    display: flex;
}
.my-header .main .search input {
    font-size: 20px;
    line-height: 40px;
    width: 400px;
    border-radius: 5px;
    padding-left: 10px;
}
.my-header .main .search>div:nth-child(2) button {
    width: 60px;
    border: none;
    height: 40px;
    font-size: 20px;
    text-align: center;
    /* background-color: #266bf9; */
    background-color: #ee6e6e;
}
.my-header .main .search span {
    margin: 15px 0;
    padding-right: 20px;
    font-size: 28px;
}
.my-header .main .nav {
    background-color: #ee6e6e;
    display: flex;
    justify-content: center;
}
.my-header .main .nav .el-menu-demo {
    background-color: #ee6e6e;
}
.my-header .main .nav .el-menu-demo a {
    text-decoration: none;
} 
/* footer部分样式 */
.my-footer {
    width: 100%;
    margin-top: 20px;
}
.my-footer .top {
    width: 100%;
    background-color: #fcf9f9;
}
.my-footer .top .main {
    width: 1200px;
    margin: 0 auto;
    display: flex;
    color: #000;
}
.my-footer .top .main img {
    width: 90px;
    height: 70px;
    margin: 10px;
} 
.my-footer .top .main h2 {
    margin: 10px 0;
}
/* .my-footer .top .main ul li {
    
} */
.my-footer .bottom {
    width: 100%;
    background-color: rgb(236, 230, 230);
}
.my-footer .bottom .main {
    width: 1200px;
    margin: 0 auto;
    text-align: center;
    color: #000;
    padding: 10px 0;
}
/* 主体部分样式 */
/* first-floor */
.first-floor {
    margin: 10px auto;
    width: 1200px;
    height: 570px;
    display: flex;
    /* justify-content: center; */
    justify-content: space-between;
}
.first-floor .left {
    position: relative;
}
.first-floor .left img {
    width: 590px;
    height: 570px;
    position: absolute;
}
.first-floor .left h3 {
    position: absolute;
    bottom: 180px;
    left: 60px;
    width: 300px;
    font-size: 1.8em;
    color: rgb(128, 123, 123);
}
.first-floor .left span {
    position: absolute;
    bottom: 100px;
    left: 60px;
    width: 200px;
    font-size: 1.7em;
    color: #000;
}
.first-floor .left a {
    position: absolute;
    bottom: 100px;
    left: 500px;
    height: 60px;
    line-height: 60px;
    width: 60px;
    border-radius: 50%;
    text-align: center;
    text-decoration: none;
    font-size: 30px;
    color: #fff;
    background-color: rgb(90, 90, 202);
}
/* 右侧 */
.first-floor .right {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.first-floor .right .right-top {
    position: relative;
}
.first-floor .right .right-top img {
    position: relative;
}
.first-floor .right .right-top h3 {
    position: absolute;
    top: 50px;
    left: 60px;
    font-size: 1.8em;
    color: rgb(128, 123, 123);
}
.first-floor .right .right-top span {
    position: absolute;
    top: 110px;
    left: 60px;
    font-size: 1.8em;
    color: #000;
}
.first-floor .right .right-top a {
    position: absolute;
    bottom: 30px;
    left: 60px;
    height: 60px;
    line-height: 60px;
    width: 60px;
    border-radius: 50%;
    text-align: center;
    text-decoration: none;
    font-size: 30px;
    color: #fff;
    background-color: rgb(90, 90, 202);
}
.first-floor .right .right-bottom {
    position: relative;
}
.first-floor .right .right-bottom h3 {
    position: absolute;
    top: 50px;
    left: 60px;
    font-size: 1.8em;
    color: rgb(128, 123, 123);
}
.first-floor .right .right-bottom span {
    position: absolute;
    top: 110px;
    left: 60px;
    font-size: 1.8em;
    color: #000;
}
.first-floor .right .right-bottom a {
    position: absolute;
    bottom: 30px;
    left: 60px;
    height: 60px;
    line-height: 60px;
    width: 60px;
    border-radius: 50%;
    text-align: center;
    text-decoration: none;
    font-size: 30px;
    color: #fff;
    background-color: rgb(90, 90, 202);
}
/* second-floor */
.second-floor {
    margin: 10px auto;
    width: 1200px;
}
.second-floor .top button {
    width: 150px;
    height: 50px;
    border: 0px;
    border-radius: 10px;
    background-color: #ee6e6e;
    color: #fff;
    margin-right: 20px;
    font-size: 20px;
}
.second-floor .bottom {
    margin: 20px 0;
    width: 100%;
}
.bottom .item {
    width: 250px;
    height: 360px;
    margin: 0 20px 80px;
    background-color: #fff;
    border: 1px solid #000;
    border-radius: 10px;
    display: inline-block;
}

.bottom .item .up {
    background-color: #fff;
    /* 下面两句需要配合使用，就是让图片放到文字上面 */
    position: relative;
    z-index: 10;
}

.bottom .item .up img {
    display: block;
    width: 100%;
    transform: scale(0.8);
    transition: 1s;
}
.bottom .item .up h4 {
    /* 文字渐变 */
    /* background-image: linear-gradient(90deg, #222, #444); */
    color: #000;
    text-align: center;
    line-height: 40px;
}
.bottom .item .up span {
    font-size: 20px;
    text-align: center;
    line-height: 40px;
    display: block;
}
/* 移出的下半部分 */
.bottom .item .down {
    border: 1px solid #000;
    border-radius: 10px;
    background-color: #fff;
    color: gray;
    padding: 10px;
    margin: 0 auto;
    text-align: center;
    /* 设置盒子大小为固定大小 */
    box-sizing: border-box;
    height: 70px;
    /* 将文字的div向上平移120px */
    transform: translateY(-120px);
    transition: 1s;
}
.bottom .item .down ul li {
    background-color: gray;
    color: #fff;
    margin-right: 5px;
    padding: 5px;
    font-size: 30px;
    border-radius: 3px;
}
/* 鼠标移入后发生的变化 移入item*/
/* 鼠标移入item，图恢复正常大小 */
.bottom .item:hover img {
    transform: scale(1);
}
/* 鼠标移入item，介绍down下移（相当于在div原位置没动） */
.bottom .item:hover .down {
    transform: translateY(21px);
}
/* thied-floor */
.third-floor {
    /* width: 100%; */
    height: 450px;
    background-image: url('/public/images/index/01-third.png');
}
.third-floor .main {
    width: 1200px;
    margin: 0 auto;
    position: relative;
    display: flex;
    justify-content: center;
}
.third-floor .main h2 {
    position: absolute;
    color: #fff;
    margin-top: 80px; 
    font-size: 3em;
}
.third-floor .main span {
    position: absolute;
    color: #fff;
    margin-top: 180px;
    margin-left: -45px;
    font-size: 3em;
}
.third-floor .main button {
    position: absolute;
    background-color: #ee6e6e;
    color: #fff;
    margin-top: 300px;
    width: 150px;
    height: 50px;
    border: none;
    border-radius: 10px;
    font-size: 20px;
    margin-left: 25px;
}
/* forth-floor */
.forth-floor {
    width: 1200px;
    margin: 40px auto;
}
.forth-floor h1 {
    text-align: center;
    font-size: 3em;
}
.forth-floor .main {
    margin-top: 40px;
    display: flex;
    justify-content: space-between;
}
.forth-floor .left {
    border: 1px solid #000;
}
.forth-floor .left img {
    width: 450px;
    height: 750px;
}
.forth-floor .right {
    border: 1px solid #000;
    width: 700px;
    /* display: flex;
    justify-content: space-evenly; */
}
.forth-floor .right .right-main {
    border: 1px solid #000;
    width: 40%;
    height: 330px;
    margin: 25px 33px;
    display: inline-block;
}
.forth-floor .right .right-main img {
    width: 100%;
    height: 250px;
}
.forth-floor .right .right-main button {
    width: 150px;
    height: 50px;
    border: none;
    border-radius: 10px;
    font-size: 20px;
    background-color: #ee6e6e;
    color: #fff;
    margin-left: 65px;
}
/* fifth-floor */
.fifth-floor {
    width: 1200px;
    margin: 20px auto 40px;
    border-radius: 5px;
}
.fifth-floor .top {
    margin: 0px auto 40px;
    display: flex;
    justify-content: center;
    font-size: 2em;
}
.fifth-floor .roll {
    background-color: #f5f5f5;
}
/* area是带边框的外层 */
.area {
    border: 1px solid #666;
    /* 溢出隐藏 */
    overflow: hidden;
}
/* ul的样式是重点 ,因为ul中要包裹很多图片横向移动，ul移动，ul就在area中溢出*/
.area ul {
    display: flex;
    /* 宽度要长于父级area一倍，1000*2=2000 */
    width: 200%;
    /* 动画要给ul加 */
    animation: 10s move infinite linear;
}
/* 鼠标移入ul，动画需要暂停 */
.area ul:hover {
    animation-play-state: paused;
}
/* li的宽度是个重要位置 */
.area ul li {
    /* 百分比永远是参照父级，ul里面有8个li,ul对li来说永远是百分之百 */
    width: 12.5%;
}
.area ul li img {
    display: block;
    width: 80%;
    height: 100px;
    padding: 50px 0px;
    margin: 0 auto;
}
.area ul li p {
    text-align: center;
    font-size: 12px;
    padding: 5px 10px;
}
@keyframes move {
    0% {}
    /* 左移动是负值，移动的是谁？ul现在50% （移动ul的一半）*/
    100% {transform: translateX(-50%);}
}
/* 个人中心样式 */
.personal {
    width: 1200px;
    margin: 0 auto;
    display: flex;
    border: 1px solid #000;
}
.personal .left {
    width: 240px;
}
.personal .left h3 {
    background-color: #ee6e6e;
    text-align: center;
    padding: 5px;
    color: #fff;
}
.personal .left ul {
    /* background-color: gray; */
    width: 240px;
}
.personal .left ul li{
    width: 240px;
    text-align: center;
    color: #000;
    font-size: 16px;
    border-bottom: 1px solid rgb(231, 229, 229);
}
.personal .right .top {
    display: flex;
}
.personal .right .top img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 10px;
}
.personal .right .top .right {
    margin-top: 10px;
    /* background-color: #ee6e6e; */
}
.personal .right .top .right p {
    font-size: 12px;
}
.personal .right .search {
    display: inline-flex;
}
.personal .right .search>div:first-child {
    margin: 10px;
    padding: 5px;
    font-size: 18px;
    border-left: 3px solid #ee6e6e; 
    border-bottom: 1px solid #666;
    border-radius: 5px;
}
.personal .right .search>div:last-child {
    margin: 10px 40px;
    padding: 5px;
}
.personal .right .search>div:last-child input {
    padding: 5px;
    width: 200px;
}
.personal .right .search>div:last-child button {
    border: none;
    background-color: #ee6e6e;
    padding: 5px;
    width: 60px;
}
.personal .right .main {
    margin: 10px;
}
.personal .right .main table {
    margin-top: 10px;
    border: 1px solid #666;
}
.personal .right .main table thead {
    background-color: #ee6e6e;
    text-align: center;
    font-size: 20px;
    height: 30px;
    
}
.personal .right .main table thead td {
    padding: 5px;
    /* border: none; */
    /* margin-bottom: 10px; */
}
.personal .right .main table tbody {
    text-align: center;
}
.personal .right .main table tbody td {
    padding: 10px;
    border: 1px solid #666;
}
.personal .right .main table tbody div{
    display: inline-flex;
}
.personal .right .main table tbody div img {
    height: 100px;
    width: 200px;
    border: 1px solid #666;
    margin-left: 20px;
}
.personal .right .main table tbody div h4 {
    margin:0 10px;
}